<table border="0" width="100%" cellspacing="0" cellpadding="2">
	<tr>
		<td class="smallText" width="20%">
			{if $LINKS.previous_button.href}
			<a href="{$LINKS.previous_button.href}"
			   title="{$LINKS.previous_button.title}">{$LINKS.previous_button.name}</a>
			{/if}
		</td>

		<td class="smallText" align="center">

			{if $LINKS.first_page}
				[<a href="{$LINKS.first_page.href}" title="{$LINKS.first_page.title}">{$LINKS.first_page.name}</a>]...
			{/if}

			{foreach from=$LINKS.pages item=page}

			{if $page.href}
				<a href="{$page.href}" title="{$page.title}">{$page.name}</a>
			{else}
				<b><u>{$page.name}</u></b>
			{/if}

			{/foreach}

			{if $LINKS.last_page}
				...[<a href="{$LINKS.last_page.href}" title="{$LINKS.last_page.title}">{$LINKS.last_page.name}</a>]
			{/if}
		</td>

		<td class="smallText" align="right" width="20%">
			{if $LINKS.next_button.href}
				<a href="{$LINKS.next_button.href}" title="{$LINKS.next_button.title}">{$LINKS.next_button.name}</a>
			{/if}
		</td>

	</tr>
</table>